﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class ThucDonBUS
    {
        public static bool Insert(ThucDonDTO td)
        {
            return ThucDonDAO.Insert(td);
        }

        public static bool Update(ThucDonDTO td)
        {
            return ThucDonDAO.Update(td);
        }

        public static bool Delete(int td)
        {
            return ThucDonDAO.Delete(td);
        }

        public static System.Data.DataTable SelectAll()
        {
            return ThucDonDAO.SelectAll();
        }
    }
}
